package pri.hillchen.std.shiro.config.shiro;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import pri.hillchen.std.shiro.ShiroDbRealm;

/**
 * Created by hillchen on 2017/10/12 0012.
 */
@Configuration
public class ShiroConfiguration {

    @Bean(name = "shiroDbRealm")
    public ShiroDbRealm shiroDbRealm() {
        ShiroDbRealm realm = new ShiroDbRealm();
        return realm;
    }
}
